package com.ddd;

public class Cat extends Animal{
		
	public void eat() {//重写父类中的eat()方法
		System.out.println("猫吃鱼！");//然后打印另一句话
		System.out.println("大鱼吃小鱼！");
		System.out.println("小鱼吃虾米！");
	}

}
